package com.jishulianmeng.entity;

import java.util.HashSet;
import java.util.Set;

/**
 * Authority entity. @author monologu
 */

public class Authority implements java.io.Serializable {

	// Fields

	private long authorityId;
	private String authorityName;
	private String authorityInfo;
	private short authorityStatus;
	private String authorityRemark;
	private Set MRoleAuthorities = new HashSet(0);

	// Constructors

	/** default constructor */
	public Authority() {
	}

	/** minimal constructor */
	public Authority(String authorityName) {
		this.authorityName = authorityName;
	}

	/** full constructor */
	public Authority(String authorityName, String authorityInfo,
			short authorityStatus, String authorityRemark, Set MRoleAuthorities) {
		this.authorityName = authorityName;
		this.authorityInfo = authorityInfo;
		this.authorityStatus = authorityStatus;
		this.authorityRemark = authorityRemark;
		this.MRoleAuthorities = MRoleAuthorities;
	}

	// Property accessors

	public long getAuthorityId() {
		return this.authorityId;
	}

	public void setAuthorityId(long authorityId) {
		this.authorityId = authorityId;
	}

	public String getAuthorityName() {
		return this.authorityName;
	}

	public void setAuthorityName(String authorityName) {
		this.authorityName = authorityName;
	}

	public String getAuthorityInfo() {
		return this.authorityInfo;
	}

	public void setAuthorityInfo(String authorityInfo) {
		this.authorityInfo = authorityInfo;
	}

	public short getAuthorityStatus() {
		return this.authorityStatus;
	}

	public void setAuthorityStatus(short authorityStatus) {
		this.authorityStatus = authorityStatus;
	}

	public String getAuthorityRemark() {
		return this.authorityRemark;
	}

	public void setAuthorityRemark(String authorityRemark) {
		this.authorityRemark = authorityRemark;
	}

	public Set getMRoleAuthorities() {
		return this.MRoleAuthorities;
	}

	public void setMRoleAuthorities(Set MRoleAuthorities) {
		this.MRoleAuthorities = MRoleAuthorities;
	}

}